/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.admin.controller;

import com.admin.model.EventRegistrationFacadeLocal;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author Tuan Long
 */
@Stateless
public class RegisteredEventEJB implements RegisteredEventEJBRemote {
    @EJB
    private EventRegistrationFacadeLocal eventRegistrationFacade;

    
    /**
     * @RegisteredEventEJB.fillTotalRegistered
     * @return List<>
     */
    @Override
    public List<String> fillTotalRegistered() {
        List<String> jsonlist = new ArrayList<String>();
        jsonlist = eventRegistrationFacade.fillTotalRegistered();
        return jsonlist;
    }

    
}
